package com.three.productList;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@MapperScan("com.three.productList.dao")
@ComponentScan("com.three")
//远程调用
@EnableFeignClients
public class ProductListApp {
    public static void main(String[] args) {
        SpringApplication.run(ProductListApp.class, args);
    }
}